package org.jie.guider.framework.spring.biz.impl;

import org.jie.guider.framework.spring.biz.UserBiz;
import org.jie.guider.framework.spring.entity.UserEntity;
import org.springframework.stereotype.Service;

/**
 * @author LiJie
 */
@Service("default")
public class DefaultUserBiz implements UserBiz {

    @Override
    public UserEntity getById(long id) {
        UserEntity entity = new UserEntity();
        entity.setId(id);
        entity.setName("LiJie");
        entity.setEmail("lijcoder@163.com");
        entity.setPhone("119");
        return entity;
    }
}
